home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh -f
- #
- # $Id: DiffRCS,v 1.1 93/08/20 13:16:31 carlson Exp $
- #
- # This script will perform an rcsdiff on each file found in the
- # current directory (ignoring *~, *.o and *.out files) and just list
- # those files that are different or not checked in (don't have a
- # respective RCS file).
- #
- # Revision History:
- # $Log: DiffRCS,v $
- # Revision 1.1 93/08/20 13:16:31 carlson
- # Initial revision
- #
- # Revision 1.1 1993/05/12 17:53:55 chris
- # Initial revision
- #
- #--------------------------------------------------------------------
-
- foreach file ( * )
- if ( -d $file ) continue
- if ( "$file:e" == "o" ) continue
- if ( "$file:e" == "out" ) continue
- set file1 = `basename $file '~'`
- if ( "$file1" != "$file" ) continue
- if ( ! -e RCS/$file,v ) then
- echo "RCS file for $file does not exist."
- else
- rcsdiff $file >& /dev/null
- if ( $status ) then
- echo "$file has been modified."
- endif
- endif
- end
-